<?php
/*
Template Name: Quyet template
*/
?>
<select name="event-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'> 
 <option value=""><?php echo attribute_escape(__('Select Event')); ?></option> 
 <?php 
  $categories=  get_categories('child_of=0'); 
  foreach ($categories as $category) {
  	$option = '<option value="/?cat='.$category->cat_ID.'">';
	$option .= $category->cat_name;
	$option .= ' ('.$category->category_count.')';
	$option .= '</option>';
	echo $option;
  }
?>
</select>
<?php
cfct_get_hot_news(5);
?>
